package com.hfjava.herundong.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.Date;


@Component
public class FindAccessTokenTask {
    @Scheduled(fixedRate = 5000)
    public void find () throws Exception {
        System.out.println(new Date());
    }
}
